package com.zt.springcloud.service;

import com.zt.springcloud.entity.Address;
import com.zt.springcloud.entity.User;

import java.util.List;

public interface UserService {
    User selectUserByUserName(String username);

    User selectUserById(Long id);

    /*
     * 添加用户地址
     * */
    public Integer addUserAddress(Address address);
    /*
    * 查询用户地址
    * */
    public List<Address> getAddressInfo(Long userid);
    /*
     * 更新用户地址
     * */
    public Integer updateAddressInfo(Address address);
}
